From: Florian Müllner Date: Thu, 17 Feb 2011 15:52:24 +0000 (+0100) Subject: Revert "a11y: Adjust schemas for screen reader and keyboard" X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~8978 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=804b51fa95183cb410b0c2d49a01d41dcc372a4f;p=gnome-shell.git Revert "a11y: Adjust schemas for screen reader and keyboard" This reverts commit 4f23f32fc128e04907f09ee1c0fbf5e7b877e484. --- diff --git a/js/ui/status/accessibility.js b/js/ui/status/accessibility.js index b5b6cdbe1..c07bf8df8 100644 --- a/js/ui/status/accessibility.js +++ b/js/ui/status/accessibility.js @@ -24,6 +24,8 @@ const KEY_SLOW_KEYS_ENABLED = 'slowkeys-enable'; const KEY_MOUSE_KEYS_ENABLED = 'mousekeys-enable'; const APPLICATIONS_SCHEMA = 'org.gnome.desktop.a11y.applications'; +const AT_SCREEN_KEYBOARD_SCHEMA = 'org.gnome.desktop.default-applications.at.mobility'; +const AT_SCREEN_READER_SCHEMA = 'org.gnome.desktop.default-applications.at.visual'; const XSETTINGS_SCHEMA = 'org.gnome.settings-daemon.plugins.xsettings'; const KEY_DPI = 'dpi'; @@ -85,12 +87,10 @@ ATIndicator.prototype = { let textZoom = this._buildFontItem(); this.menu.addMenuItem(textZoom); - let screenReader = this._buildItem(_("Screen Reader"), APPLICATIONS_SCHEMA, - 'screen-reader-enabled'); + let screenReader = this._buildItem(_("Screen Reader"), AT_SCREEN_READER_SCHEMA, 'startup'); this.menu.addMenuItem(screenReader); - let screenKeyboard = this._buildItem(_("Screen Keyboard"), APPLICATIONS_SCHEMA, - 'screen-keyboard-enabled'); + let screenKeyboard = this._buildItem(_("Screen Keyboard"), AT_SCREEN_KEYBOARD_SCHEMA, 'startup'); this.menu.addMenuItem(screenKeyboard); let visualBell = this._buildItemGConf(_("Visual Alerts"), client, KEY_VISUAL_BELL);